By using TR, you can easily implement many of the most basic features of SED. You can see TR as a (extremely) simplified variant of sed: it can replace another character with one character, or it can completely remove some characters. You can also
1.2.1 Echo's quote questionFor the use of ECHO, note that the special case of single and double quotes is the point. To print "Hello world!" As an example.Echo Hello world!Hello world!Echo ' Hello world! 'Hello world!Echo " Hello world! "
For linux: tr command usage, tr can be viewed as a simplified sed tool. tr is represented as: translate. The tr command is mainly used to convert strings in the following two replacement operations. The string conversion of the delete operation can
One, automatically padded: [Tab]
A lot of people should be able to do this by pressing the [TAB] key when entering commands, directories, or filenames. The system will help you fill in what you might want to enter, if more than one selection system
Preface
Quick edit shell command line
The most common cause is that Nux beginners say that the most annoying thing is Linux/Unix command lines. If you are an impatient person, you can first try the comprehensive exercises at the end of the article
Echo is the basic command for terminal printing. Use:
$ Echo "hello world"
$ Echo hello world
$ Echo 'Hello world'
$ Echo $ PATH
[Name Description]
By default, echo adds a line break symbol at the end of each line. Option-n is used to ignore
Scheduled Tasks in LinuxExecutes the specified task within the agreed time, called a scheduled task.There are generally two ways to schedule tasks in Linux:Scheduled Tasks and recurring scheduled tasks that are performed at onceOne-time scheduled
Executes the task at the specified time.Command formatAt [-v] [-Q queue] [-f file] [-MLDBV] TimeAt [-v] [-Q queue] [-f file] [-MLDBV]-T Time_argAt-c job [Job ...]Command parameters-VPrint the version number on the standard error stream-Q QueueUse
CentOS command-at: Execute the task at the specified time
Execute the task at the specified time.Command Format
At [-V] [-q queue] [-f file] [-mldbv] TIMEAt [-V] [-q queue] [-f file] [-mldbv]-t time_argAt-c job [job...]Command Parameters
-VPrint the
Echo is the basic command for terminal printing. Use:
$ Echo "hello world"
$ Echo hello world
$ Echo 'Hello world'
$ Echo $ PATH
[Name Description]
By default, echo adds a line break symbol at the end of each line. Option-n is used to
Scheduled Tasks in LinuxExecutes the specified task within the agreed time, called a scheduled task.There are generally two ways to schedule tasks in Linux:Scheduled Tasks and recurring scheduled tasks that are performed at onceOne-time scheduled
Quotation marks are often used when writing shell scripts, and sometimes the difference between single and double quotes is always forgotten.So just tidy up for the future when the brain is not good to come to review. First, what they have in
1. Echo1.1, by default, Echo adds a line break after each call1.2, the content to be printed, you can use single quotation marks, double quotation marks or direct printing, different ways, have their own restrictions1.2.1, using the non-quoted Echo,
Hello world, as the beginning of all programming languages, occupies an immutable position, all the Chinese/English/French/German/American ... Version of the programming textbook, Hello World is always recorded as the first Test in the book, all the
Preface: Busy with recent tasks, you need to use some LIBSVM commands, such as running Java svm_train train_file model_file at the terminal. Pythonsubset.py file train_num train_file test_file commands, but file preparation is also written by Python,
Article Title: Details: how to use Echo in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The
Tlcl-view the world echo in shell eyes
View the world in shell eyes
Echo-display a line of text
When you enter a command, bash expands the input characters before executing the command.
Expand path
Echo *
Shell expands * to the name of the file in
Preface: Busy with the recent tasks, need to use some of the LIBSVM commands. such as in the terminal execution Java svm_train train_file model_file. Pythonsubset.py file Train_num train_file test_file and other commands. But file preparation is
PhpI. Introduction of PHP PHP (foreign name: Php:hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a common open source scripting language. Grammar absorbs the features of C, Java, and Perl,Conducive to learning, widely used,
the PHP script can be placed anywhere in the document. PHP script starts with and ends with?> PHP files usually contain HTML tags and some php script code. My first PHP page echo "Hello world!";?>Note: The PHP statement ends with a semicolon (;).
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.